all:
	nvcc -o bin/scan_base scan_base.cu -lineinfo && sudo /usr/local/cuda/bin/ncu -f -o scan_base --set full ./bin/scan_base
	nvcc -o bin/scan_hillis_steele scan_hillis_steele.cu -lineinfo && sudo /usr/local/cuda/bin/ncu -f -o scan_hillis_steele --set full ./bin/scan_hillis_steele

clean:
	sudo rm -rf bin/*
	sudo rm -rf *.ncu-rep